package core.api;

import java.rmi.RemoteException;
import java.util.Set;

public interface ResoAPI extends CommunAPI{
	
	/**
	 * Register a client
	 * @param client
	 * @return
	 */
	public void registerClient(ClientAPI client) throws RemoteException;
	
	/**
	 * Remove a client
	 * @param id
	 */
	public void unregisterClient(ClientAPI client) throws RemoteException;
	
	/**
	 * Return ids of clients
	 * @return
	 */
	public Set<Integer> getClients() throws RemoteException;
	
}
